import Vue from 'vue'
import App from './App.vue'
import router from './router'
import './plugins/ant-design-vue.js'
//导入ant-design样式
import 'ant-design-vue/dist/antd.css'
//导入全局样式
import './assets/css/global.css';
//导入iconfont样式
import  './assets/css/iconfont/iconfont.css';

import axios from 'axios';

axios.interceptors.request.use(config => {
 
  // console.log(config);
  config.headers.Authorization = window.sessionStorage.getItem("token")
  return config;
})

Vue.prototype.$http=axios
Vue.config.productionTip = false

new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
